<%--
  Created by IntelliJ IDEA.
  User: Noodles
  Date: 2018/1/11
  Time: 11:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<a style="font-family: 楷体;font-size: 26px">增加学生信息</a>
<form action="/addStuInfo" method="post">
    <%if (request.getAttribute("addStuInfo")!=null){%>
    <%=request.getAttribute("addStuInfo")%>
    <%request.setAttribute("addStuInfo","");%>
    <%}%>
    <table border="1" cellpadding="10" cellspacing="0" width="50%" style="text-align: center;" align="center">
        <tr>
            <td>账    号：</td>
            <td><input type="text" name="uaccount"></td>
        </tr>

        <tr>
            <td>姓   名：</td>
            <td><input type="text" name="uname"></td>
        </tr>

        <tr>
            <td>密   码：</td>
            <td><input type="password" name="upassword"></td>
        </tr>
        <tr>
            <td>年     龄：</td>
            <td><input type="text" name="uage"></td>
        </tr>
        <tr>
            <td>性   别：</td>
            <td><input type="text" name="usex"></td>
        </tr>
        <tr>
            <td>类  型：</td>
            <td><input type="checkbox" name="ucate" value="Student">学生
                <input type="checkbox" name="ucate" value="Teacher">教师
                <input type="checkbox" name="ucate" value="Admin">管理员</td>
        </tr>
    </table>
    <input type="submit" style="margin: 0 auto; display: block;margin-bottom: 10px;margin-top: 10px">
    <input type="reset" style="margin: 0 auto; display: block;margin-bottom: 10px;margin-top: 10px">
</form>
</body>
</html>
